package com.simple.datax.db.mybatis.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

/**
 * 
 * @author paladin
 *
 */
public class DataxReceiveChannelCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DataxReceiveChannelCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("FI_ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("FI_ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("FI_ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("FI_ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("FI_ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("FI_ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("FI_ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("FI_ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("FI_ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("FI_ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("FI_ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("FI_ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andChannelDescIsNull() {
            addCriterion("FC_CHANNEL_DESC is null");
            return (Criteria) this;
        }

        public Criteria andChannelDescIsNotNull() {
            addCriterion("FC_CHANNEL_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andChannelDescEqualTo(String value) {
            addCriterion("FC_CHANNEL_DESC =", value, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescNotEqualTo(String value) {
            addCriterion("FC_CHANNEL_DESC <>", value, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescGreaterThan(String value) {
            addCriterion("FC_CHANNEL_DESC >", value, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescGreaterThanOrEqualTo(String value) {
            addCriterion("FC_CHANNEL_DESC >=", value, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescLessThan(String value) {
            addCriterion("FC_CHANNEL_DESC <", value, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescLessThanOrEqualTo(String value) {
            addCriterion("FC_CHANNEL_DESC <=", value, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescLike(String value) {
            addCriterion("FC_CHANNEL_DESC like", value, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescNotLike(String value) {
            addCriterion("FC_CHANNEL_DESC not like", value, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescIn(List<String> values) {
            addCriterion("FC_CHANNEL_DESC in", values, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescNotIn(List<String> values) {
            addCriterion("FC_CHANNEL_DESC not in", values, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescBetween(String value1, String value2) {
            addCriterion("FC_CHANNEL_DESC between", value1, value2, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andChannelDescNotBetween(String value1, String value2) {
            addCriterion("FC_CHANNEL_DESC not between", value1, value2, "channelDesc");
            return (Criteria) this;
        }

        public Criteria andCommunTypeIsNull() {
            addCriterion("FC_COMMUN_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andCommunTypeIsNotNull() {
            addCriterion("FC_COMMUN_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andCommunTypeEqualTo(String value) {
            addCriterion("FC_COMMUN_TYPE =", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeNotEqualTo(String value) {
            addCriterion("FC_COMMUN_TYPE <>", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeGreaterThan(String value) {
            addCriterion("FC_COMMUN_TYPE >", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeGreaterThanOrEqualTo(String value) {
            addCriterion("FC_COMMUN_TYPE >=", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeLessThan(String value) {
            addCriterion("FC_COMMUN_TYPE <", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeLessThanOrEqualTo(String value) {
            addCriterion("FC_COMMUN_TYPE <=", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeLike(String value) {
            addCriterion("FC_COMMUN_TYPE like", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeNotLike(String value) {
            addCriterion("FC_COMMUN_TYPE not like", value, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeIn(List<String> values) {
            addCriterion("FC_COMMUN_TYPE in", values, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeNotIn(List<String> values) {
            addCriterion("FC_COMMUN_TYPE not in", values, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeBetween(String value1, String value2) {
            addCriterion("FC_COMMUN_TYPE between", value1, value2, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunTypeNotBetween(String value1, String value2) {
            addCriterion("FC_COMMUN_TYPE not between", value1, value2, "communType");
            return (Criteria) this;
        }

        public Criteria andCommunParamIsNull() {
            addCriterion("FC_COMMUN_PARAM is null");
            return (Criteria) this;
        }

        public Criteria andCommunParamIsNotNull() {
            addCriterion("FC_COMMUN_PARAM is not null");
            return (Criteria) this;
        }

        public Criteria andCommunParamEqualTo(String value) {
            addCriterion("FC_COMMUN_PARAM =", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamNotEqualTo(String value) {
            addCriterion("FC_COMMUN_PARAM <>", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamGreaterThan(String value) {
            addCriterion("FC_COMMUN_PARAM >", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamGreaterThanOrEqualTo(String value) {
            addCriterion("FC_COMMUN_PARAM >=", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamLessThan(String value) {
            addCriterion("FC_COMMUN_PARAM <", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamLessThanOrEqualTo(String value) {
            addCriterion("FC_COMMUN_PARAM <=", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamLike(String value) {
            addCriterion("FC_COMMUN_PARAM like", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamNotLike(String value) {
            addCriterion("FC_COMMUN_PARAM not like", value, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamIn(List<String> values) {
            addCriterion("FC_COMMUN_PARAM in", values, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamNotIn(List<String> values) {
            addCriterion("FC_COMMUN_PARAM not in", values, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamBetween(String value1, String value2) {
            addCriterion("FC_COMMUN_PARAM between", value1, value2, "communParam");
            return (Criteria) this;
        }

        public Criteria andCommunParamNotBetween(String value1, String value2) {
            addCriterion("FC_COMMUN_PARAM not between", value1, value2, "communParam");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("FI_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("FI_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(Short value) {
            addCriterion("FI_FLAG =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(Short value) {
            addCriterion("FI_FLAG <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(Short value) {
            addCriterion("FI_FLAG >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("FI_FLAG >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(Short value) {
            addCriterion("FI_FLAG <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(Short value) {
            addCriterion("FI_FLAG <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<Short> values) {
            addCriterion("FI_FLAG in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<Short> values) {
            addCriterion("FI_FLAG not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(Short value1, Short value2) {
            addCriterion("FI_FLAG between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(Short value1, Short value2) {
            addCriterion("FI_FLAG not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("FD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("FD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Date value) {
            addCriterionForJDBCDate("FD_TIME =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("FD_TIME <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("FD_TIME >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FD_TIME >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Date value) {
            addCriterionForJDBCDate("FD_TIME <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FD_TIME <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Date> values) {
            addCriterionForJDBCDate("FD_TIME in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("FD_TIME not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FD_TIME between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FD_TIME not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andGroupIsNull() {
            addCriterion("FI_GROUP is null");
            return (Criteria) this;
        }

        public Criteria andGroupIsNotNull() {
            addCriterion("FI_GROUP is not null");
            return (Criteria) this;
        }

        public Criteria andGroupEqualTo(Short value) {
            addCriterion("FI_GROUP =", value, "group");
            return (Criteria) this;
        }

        public Criteria andGroupNotEqualTo(Short value) {
            addCriterion("FI_GROUP <>", value, "group");
            return (Criteria) this;
        }

        public Criteria andGroupGreaterThan(Short value) {
            addCriterion("FI_GROUP >", value, "group");
            return (Criteria) this;
        }

        public Criteria andGroupGreaterThanOrEqualTo(Short value) {
            addCriterion("FI_GROUP >=", value, "group");
            return (Criteria) this;
        }

        public Criteria andGroupLessThan(Short value) {
            addCriterion("FI_GROUP <", value, "group");
            return (Criteria) this;
        }

        public Criteria andGroupLessThanOrEqualTo(Short value) {
            addCriterion("FI_GROUP <=", value, "group");
            return (Criteria) this;
        }

        public Criteria andGroupIn(List<Short> values) {
            addCriterion("FI_GROUP in", values, "group");
            return (Criteria) this;
        }

        public Criteria andGroupNotIn(List<Short> values) {
            addCriterion("FI_GROUP not in", values, "group");
            return (Criteria) this;
        }

        public Criteria andGroupBetween(Short value1, Short value2) {
            addCriterion("FI_GROUP between", value1, value2, "group");
            return (Criteria) this;
        }

        public Criteria andGroupNotBetween(Short value1, Short value2) {
            addCriterion("FI_GROUP not between", value1, value2, "group");
            return (Criteria) this;
        }

        public Criteria andMsgFormatIsNull() {
            addCriterion("FC_MSG_FORMATE_ID is null");
            return (Criteria) this;
        }

        public Criteria andMsgFormatIsNotNull() {
            addCriterion("FC_MSG_FORMATE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMsgFormatEqualTo(String value) {
            addCriterion("FC_MSG_FORMATE_ID =", value, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatNotEqualTo(String value) {
            addCriterion("FC_MSG_FORMATE_ID <>", value, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatGreaterThan(String value) {
            addCriterion("FC_MSG_FORMATE_ID >", value, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatGreaterThanOrEqualTo(String value) {
            addCriterion("FC_MSG_FORMATE_ID >=", value, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatLessThan(String value) {
            addCriterion("FC_MSG_FORMATE_ID <", value, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatLessThanOrEqualTo(String value) {
            addCriterion("FC_MSG_FORMATE_ID <=", value, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatLike(String value) {
            addCriterion("FC_MSG_FORMATE_ID like", value, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatNotLike(String value) {
            addCriterion("FC_MSG_FORMATE_ID not like", value, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatIn(List<String> values) {
            addCriterion("FC_MSG_FORMATE_ID in", values, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatNotIn(List<String> values) {
            addCriterion("FC_MSG_FORMATE_ID not in", values, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatBetween(String value1, String value2) {
            addCriterion("FC_MSG_FORMATE_ID between", value1, value2, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgFormatNotBetween(String value1, String value2) {
            addCriterion("FC_MSG_FORMATE_ID not between", value1, value2, "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetIsNull() {
            addCriterion("FC_MSG_CHARSET is null");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetIsNotNull() {
            addCriterion("FC_MSG_CHARSET is not null");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetEqualTo(String value) {
            addCriterion("FC_MSG_CHARSET =", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetNotEqualTo(String value) {
            addCriterion("FC_MSG_CHARSET <>", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetGreaterThan(String value) {
            addCriterion("FC_MSG_CHARSET >", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetGreaterThanOrEqualTo(String value) {
            addCriterion("FC_MSG_CHARSET >=", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetLessThan(String value) {
            addCriterion("FC_MSG_CHARSET <", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetLessThanOrEqualTo(String value) {
            addCriterion("FC_MSG_CHARSET <=", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetLike(String value) {
            addCriterion("FC_MSG_CHARSET like", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetNotLike(String value) {
            addCriterion("FC_MSG_CHARSET not like", value, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetIn(List<String> values) {
            addCriterion("FC_MSG_CHARSET in", values, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetNotIn(List<String> values) {
            addCriterion("FC_MSG_CHARSET not in", values, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetBetween(String value1, String value2) {
            addCriterion("FC_MSG_CHARSET between", value1, value2, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetNotBetween(String value1, String value2) {
            addCriterion("FC_MSG_CHARSET not between", value1, value2, "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgTypeIsNull() {
            addCriterion("FC_MSG_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andMsgTypeIsNotNull() {
            addCriterion("FC_MSG_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andMsgTypeEqualTo(String value) {
            addCriterion("FC_MSG_TYPE =", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeNotEqualTo(String value) {
            addCriterion("FC_MSG_TYPE <>", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeGreaterThan(String value) {
            addCriterion("FC_MSG_TYPE >", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeGreaterThanOrEqualTo(String value) {
            addCriterion("FC_MSG_TYPE >=", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeLessThan(String value) {
            addCriterion("FC_MSG_TYPE <", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeLessThanOrEqualTo(String value) {
            addCriterion("FC_MSG_TYPE <=", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeLike(String value) {
            addCriterion("FC_MSG_TYPE like", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeNotLike(String value) {
            addCriterion("FC_MSG_TYPE not like", value, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeIn(List<String> values) {
            addCriterion("FC_MSG_TYPE in", values, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeNotIn(List<String> values) {
            addCriterion("FC_MSG_TYPE not in", values, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeBetween(String value1, String value2) {
            addCriterion("FC_MSG_TYPE between", value1, value2, "msgType");
            return (Criteria) this;
        }

        public Criteria andMsgTypeNotBetween(String value1, String value2) {
            addCriterion("FC_MSG_TYPE not between", value1, value2, "msgType");
            return (Criteria) this;
        }

        public Criteria andChannelDescLikeInsensitive(String value) {
            addCriterion("upper(FC_CHANNEL_DESC) like", value.toUpperCase(), "channelDesc");
            return (Criteria) this;
        }

        public Criteria andCommunTypeLikeInsensitive(String value) {
            addCriterion("upper(FC_COMMUN_TYPE) like", value.toUpperCase(), "communType");
            return (Criteria) this;
        }

        public Criteria andCommunParamLikeInsensitive(String value) {
            addCriterion("upper(FC_COMMUN_PARAM) like", value.toUpperCase(), "communParam");
            return (Criteria) this;
        }

        public Criteria andMsgFormatLikeInsensitive(String value) {
            addCriterion("upper(FC_MSG_FORMATE_ID) like", value.toUpperCase(), "msgFormat");
            return (Criteria) this;
        }

        public Criteria andMsgCharsetLikeInsensitive(String value) {
            addCriterion("upper(FC_MSG_CHARSET) like", value.toUpperCase(), "msgCharset");
            return (Criteria) this;
        }

        public Criteria andMsgTypeLikeInsensitive(String value) {
            addCriterion("upper(FC_MSG_TYPE) like", value.toUpperCase(), "msgType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}